package cn.kooki.app.duobao.util;

import android.content.Context;
import android.text.TextUtils;

import cn.kooki.app.duobao.data.Bean.User.UserInfo;

/**
 * Created by xiong on 2016/1/7.
 */
public class PhoneCheckUtils {

    public static boolean checkphone(Context context) {
        UserInfo userinfo = SharePreferencesUtils.getUserinfo(context);
        if (TextUtils.isEmpty(userinfo.getMobile())) {
            return false;
        } else {
            return true;
        }
    }
}
